package cn.zhizihua.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商家类
 */
@Data  //生成getter、setter
@NoArgsConstructor  //无参构造
@AllArgsConstructor //全参构造
@JsonInclude(JsonInclude.Include.NON_NULL) //关联查询结果展示包含非空的字段  （如果字段是空的，转JSON时自动忽略掉了）
public class Business {

    private Integer businessId;
    private String businessAccount;
    private String businessPassword;
    private String businessName;
    private String businessAddress;
    private String businessExplain;
    private String businessImg;
    private Double startPrice;
    private Double deliveryPrice;
    private String remarks;

}
